<%@ page pageEncoding="UTF-8"%><%@ include file="/include/commons.jsp"%>
<p>共 ${sessionScope.pageBean.allRow } 条记录 共 ${sessionScope.pageBean.totalPage } 页, 当前第 ${sessionScope.pageBean.currentPage } 页</p>
<c:if test="${sessionScope.pageBean.firstPage }">
	首页
	上一页
</c:if>
<c:if test="${sessionScope.pageBean.hasPreviousPage }">
	<a href="${param.entity }_list?page=1">首页</a>
	<a href="${param.entity }_list?page=${sessionScope.pageBean.currentPage-1 }">上一页</a>
</c:if>
<c:if test="${sessionScope.pageBean.hasNextPage }">
	<a href="${param.entity }_list?page=${sessionScope.pageBean.currentPage+1 }">下一页</a>
	<a href="${param.entity }_list?page=${sessionScope.pageBean.totalPage }">尾页</a>
</c:if>
<c:if test="${sessionScope.pageBean.lastPage }">
	下一页
	尾页
</c:if>
<form action="${param.entity }_list" method="post">
跳到第 <select name="page">
		<c:forEach var="i" begin="1" end="${sessionScope.pageBean.totalPage }">
		<option value="${i }">${i }
		</c:forEach>
	</select> 页
	<input type="submit" value="GO">
</form>